package com.commonapi.commonapi;

import com.commonmodule.commonmodule.module.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author zxb
 * @version 1.0
 * @date 2025-04-03 15:53
 */
@Component
@FeignClient(value = "order-service")
public interface OrderServiceFeignClient {


    @PostMapping("/order/orderUser")
    public void orderUser(@RequestBody Order order);



}
